using System;
using System.Collections.Generic;

namespace dpatoolkit.UILayer
{
	/// <summary>
	/// Represents a MDI window child of the dpatoolkit, like a component form, or plugin editor
	/// </summary>
	public interface IMdiChild
	{
		void SaveAsImage(string dir);
		void MergePattern(string pathToPatternFile);
		void Print();
        void Print(System.Drawing.Graphics g);
		void ClearAll();
        IUIProjectUnit Project { get; set; }
		string Title{get;set;}
		void Close();
    }

	public enum MdiCommand
	{
		AddNewComponent,
		GenerateSnapshot,
		PrintAllComponents
	}
}
